Carbon


PowerHandlerProcPtr

Header: Power.h Carbon status: Unsupported

typedef OSStatus(* PowerHandlerProcPtr) (
    UInt32 message, 
    void *param, 
    UInt32 refCon, 
    RegEntryID *regEntryID
);

You would declare your function like this if you were to name it MyPowerHandlerCallback:

OSStatus MyPowerHandlerCallback (
    UInt32 message, 
    void *param, 
    UInt32 refCon, 
    RegEntryID *regEntryID
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)